//唯一一个能够修改state里面数据的地方－（函数）——不能做异步
var mutations = {
	add(state){
		state.count++
	},
	login(state,name){
		state.usernames=name
	},
	reg(state,pass){
		state.passwords=pass
	},
	token(state,tok){
		state.tokens=tok
	},
	carGoodsList(state, list) {
	    state.carListInfo = list
	},
	getOder(state, list) {
	    state.oderInfo = list;
	}
}

export default mutations;